package io.xccit.system.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.xccit.model.system.SysMenu;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 菜单表 Mapper 接口
 * </p>
 *
 * @author xccit
 * @since 2023-06-26
 */
@Repository
public interface ISysMenuMapper extends BaseMapper<SysMenu> {

    /**
     * 根据userID获取菜单数据
     * @param userID
     * @return
     */
    List<SysMenu> selectMenuByUserID(@Param("userID") Long userID);
}
